/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.LineFormat*/
public class LineFormat extends JavaScriptObject {

	protected LineFormat() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final ColorFormat getBackColor()/*-{
		return this.BackColor;
	}-*/;

	public native final void setBackColor(ColorFormat value)/*-{
		this.BackColor = value;
	}-*/;

	protected native final void _setBeginArrowheadWidth( int value)/*-{
		this.BeginArrowheadWidth = value;
	}-*/;

	public final void setBeginArrowheadWidth(MsoArrowheadWidth value){
		_setBeginArrowheadWidth(value.getValue());
	}

	protected native final int _getBeginArrowheadLength()/*-{
		return this.BeginArrowheadLength;
	}-*/;

	public final MsoArrowheadLength getBeginArrowheadLength(){
		return MsoArrowheadLength.valueOf(_getBeginArrowheadLength());
	}

	protected native final void _setBeginArrowheadLength( int value)/*-{
		this.BeginArrowheadLength = value;
	}-*/;

	public final void setBeginArrowheadLength(MsoArrowheadLength value){
		_setBeginArrowheadLength(value.getValue());
	}


	protected native final int _getBeginArrowheadStyle()/*-{
		return this.BeginArrowheadStyle;
	}-*/;

	public final MsoArrowheadStyle getBeginArrowheadStyle(){
		return MsoArrowheadStyle.valueOf(_getBeginArrowheadStyle());
	}


	protected native final void _setBeginArrowheadStyle( int value)/*-{
		this.BeginArrowheadStyle = value;
	}-*/;

	public final void setBeginArrowheadStyle(MsoArrowheadStyle value){
		_setBeginArrowheadStyle(value.getValue());
	}


	protected native final int _getDashStyle()/*-{
		return this.DashStyle;
	}-*/;

	public final MsoLineDashStyle getDashStyle(){
		return MsoLineDashStyle.valueOf(_getDashStyle());
	}
	protected native final void _setDashStyle( int value)/*-{
		this.DashStyle = value;
	}-*/;

	public final void setDashStyle(MsoLineDashStyle value){
		_setDashStyle(value.getValue());
	}

	protected native final int _getEndArrowheadLength()/*-{
	return this.EndArrowheadLength;
	}-*/;

	public final MsoArrowheadLength getEndArrowheadLength(){
		return MsoArrowheadLength.valueOf(_getEndArrowheadLength());
	}

	protected native final void _setEndArrowheadLength( int value)/*-{
		this.EndArrowheadLength = value;
	}-*/;

	public final void setEndArrowheadLength(MsoArrowheadLength value){
		_setEndArrowheadLength(value.getValue());
	}

	protected native final int _getEndArrowheadStyle()/*-{
		return this.EndArrowheadStyle;
	}-*/;

	public final MsoArrowheadStyle getEndArrowheadStyle(){
		return MsoArrowheadStyle.valueOf(_getEndArrowheadStyle());
	}

	protected native final void _setEndArrowheadStyle( int value)/*-{
		this.EndArrowheadStyle = value;
	}-*/;

	public final void setEndArrowheadStyle(MsoArrowheadStyle value){
		_setEndArrowheadStyle(value.getValue());
	}
	protected native final int _getEndArrowheadWidth()/*-{
		return this.EndArrowheadWidth;
	}-*/;

	public final MsoArrowheadWidth getEndArrowheadWidth(){
		return MsoArrowheadWidth.valueOf(_getEndArrowheadWidth());
	}

	protected native final void _setEndArrowheadWidth( int value)/*-{
		this.EndArrowheadWidth = value;
	}-*/;

	public final void setEndArrowheadWidth(MsoArrowheadWidth value){
		_setEndArrowheadWidth(value.getValue());
	}

	public native final ColorFormat getForeColor()/*-{
		return this.ForeColor;
	}-*/;

	public native final void setForeColor(ColorFormat value)/*-{
		this.ForeColor = value;
	}-*/;

	protected native final int _getPattern()/*-{
		return this.Pattern;
	}-*/;

	public final MsoPatternType getPattern(){
		return MsoPatternType.valueOf(_getPattern());
	}
	protected native final void _setPattern( int value)/*-{
	this.Pattern = value;
}-*/;

	public final void setPattern(MsoPatternType value){
		_setPattern(value.getValue());
	}


	protected native final int _getStyle()/*-{
	return this.Style;
}-*/;

	public final MsoLineStyle getStyle(){
		return MsoLineStyle.valueOf(_getStyle());
	}


	protected native final void _setStyle( int value)/*-{
	this.Style = value;
}-*/;

	public final void setStyle(MsoLineStyle value){
		_setStyle(value.getValue());
	}
	public native final float getTransparency()/*-{
		return this.Transparency;
	}-*/;

	public native final void setTransparency(float value)/*-{
		this.Transparency = value;
	}-*/;

	protected native final int _getVisible()/*-{
		return this.Visible;
	}-*/;

	public final MsoTriState getVisible(){
		return MsoTriState.valueOf(_getVisible());
	}



	protected native final void _setVisible( int value)/*-{
		this.Visible = value;
	}-*/;

	public final void setVisible(MsoTriState value){
		_setVisible(value.getValue());
	}

	public native final float getWeight()/*-{
		return this.Weight;
	}-*/;

	public native final void setWeight(float value)/*-{
		this.Weight = value;
	}-*/;

	public native final int getInsetPen()/*-{
		return this.InsetPen;
	}-*/;

	public native final void setInsetPen(int value)/*-{
		this.InsetPen = value;
	}-*/;

}
